.body,ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 父容器样式 */
.bili-header__bar {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 64px;
    padding: 0 20px;
    box-sizing: border-box;
    top: 0;
    left: 0;
    z-index: 10;
    transition: background-color 0.3s, color 0.3s; /* 背景色和字体颜色过渡效果 */
}
.bili-header__bar.sticky {
    background-color: white; 
}
.bili-header__bar.sticky .entry-title, 
.bili-header__bar.sticky .default-entry,
.bili-header__bar.sticky .user-ui span,
.bili-header__bar.sticky .left-entry span,
.bili-header__bar.sticky .icon {
    color: black;  
}


/* 子容器样式 */
.bili-header__bar > div {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 第一个和最后一个子容器样式 */
.bili-header__bar > div:first-child,
.bili-header__bar > div:last-child {
    flex: 0 1 auto; 
}


.left-entry .default-entry,
.left-entry .entry-title,
.left-entry .download-entry, 
.left-entry .default-entry {
    height: 64px;
    line-height: 64px;
    color: #000000;  
    font-size: 14px;
    cursor: pointer;
}
.left-entry .icon {
    width: 20px;
    height: 20px;
    vertical-align: -0.15em;
    fill: currentColor;
}

.bili-header__bar .left-entry,
.bili-header__bar .right-entry {
    flex: 1; /* 左右部分占用相等的空间 */
}


.right-entry .user-ui {
    display: flex;
    flex-direction: column; /* 设置子元素垂直排列，图片在文字上方 */
    align-items: center; /* 水平居中对齐 */
    justify-content: center;
}

.right-entry .user-ui span {
    writing-mode: horizontal-tb; 
    white-space: nowrap;
}

a {
    text-decoration: none;
    margin: 0 10px 0 0;
}

.left-entry {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #000000;
    text-shadow: 0 1px 1px rgb(0 0 0 / 30%);
    height: 64px;
    padding: 0;
    margin-right: 10px;
}

.left-entry li {
    list-style: none; 
    cursor: pointer;
    white-space: nowrap;
    position: relative; 
    z-index: 10;
}

.icon ,.icondown{
    width: 20px;
    height: 20px;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden; 
}
.v-popover-wrap {
  display: inline-block; /* 确保元素可以被定位 */
  transition: transform 0.3s ease; /* 设置平滑过渡效果 */
}

/* 当鼠标悬浮时 */
.v-popover-wrap:hover {
  animation: bounce 0.5s ease-in-out;
}

/* 定义跳动的动画 */
@keyframes bounce {
  0% {
    transform: translateY(0); /* 初始位置 */
  }
  50% {
    transform: translateY(-10px); /* 向上跳动10px */
  }
  100% {
    transform: translateY(0); /* 回到原位置 */
  }
}

/* 搜索框样式 */
.center-search-container {
    box-sizing: border-box;
    color: rgb(24, 25, 28);
    display: block;
    font-size: 14px;
    font-weight: 400;
    height: 40px;
    line-height: 22.4px;
    margin: 0;
    max-width: 500px;
    min-width: 181px;
    padding: 0;
    position: relative;
    width: 363px;
    background-color: transparent;
}

/* 搜索框外部样式 */
.nav-searchform {
    display: flex;
    background-color: rgb(241, 242, 243);
    border: 1px solid rgb(227, 229, 231);
    border-radius: 8px;
    width: 100%;
    height: 40px;
    padding: 0 48px 0 4px;
    position: relative;
    transition: background-color 0.3s ease;
}

.nav-searchform:hover {
    background-color: rgb(255, 255, 255); /* Hover效果 */
}

/* 搜索框内部样式 */
.nav-search-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    border: 2px solid transparent;
    border-radius: 6px;
}

/* 输入框样式 */
.nav-search-content input {
    width: 100%;
    height: 32px;
    padding: 0 8px;
    border-radius: 6px;
    border: 2px solid transparent;
    line-height: 38px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

/* 搜索按钮样式 */
.nav-search-btn {
    position: absolute;
    right: 7px;
    top: 3px;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.nav-search-btn:hover {
    background-color: rgba(169, 169, 169, 0.5); /* Hover效果 */
}

/* 右侧入口样式 */
.right-entry {
    display: flex;
    justify-content: flex-end; /* 确保从左到右排列 */
    align-items: center; /* 垂直居中对齐 */
    width: 100%; /* 盒子占满整个宽度 */
    height: 50px;
    margin: 0 0 0 10px; /* 去掉右边距，确保紧贴右侧 */
    padding: 0;
}

.user-left {
    display: flex;
    align-items: center;
    height: 50px;
    width: 50px;
    padding-right: 10px ;
    margin: 0;
    padding: 0 10px 0 0;
}

.carmer {
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    cursor: pointer;
}



.user-mid {
    display: flex;
    align-items: center;
    justify-content: space-around; /* 平均分配空间 */
    width: auto; /* 允许自适应宽度 */
    margin: 0 ;
    height: 50px;
}

.user-mid .user-ui {
    font-size: 14px;
    color: #000000;
    margin-left: 12px;
}

.user-right {
    display: flex;
    align-items: center;
    margin-left: 10px; /* 推动到右边 */
}

.userDetail {
    width: 90px !important;
    height: 34px;
    background-color: #fb7299;
    border-radius: 8px;
    text-align: center;
    line-height: 36px;
    margin-left: 10px;
    border-radius: 8px;
}

.user-right a {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
/*中间*/
.feed{
    margin-top: 60px;
    display: flex;
    flex-direction: column; /* 让 feed 里的所有盒子垂直排列 */
    justify-content: flex-start; /* 确保从上往下排列 */
    align-items: center; /* 水平居中 */
    width: 100%; /* 宽度占满整个屏幕 */
    
}
.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    width: 680px;
    height: 40px;
    box-sizing: border-box; /* 确保 padding 和 border 不会影响到总宽度 */
    overflow: hidden; /* 防止内容溢出 */
}

.title {
    font-size: 16px;
    color: #333;
    flex-shrink: 0;
}

.search-box {
    position: relative;
    width: 240px;
    flex-shrink: 0;
}

.search-input {
    width: 100%;
    height: 30px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 15px;
    outline: none;
    font-size: 14px;
    box-sizing: border-box; 
}

.search-input::placeholder {
    color: #aaa;
}

.search-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: url('https://cdn-icons-png.flaticon.com/512/622/622669.png') no-repeat center;
    background-size: cover;
    cursor: pointer;
}
.feed-list {
    display: block;
    width: 680px;
}
.feed-item {
    display: flex;
    justify-content: center; /* 水平居中 */
    width: 680px;
    height: 88px;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0; /* 底部灰色细线 */
    color: rgb(24, 25, 28);
}

.left {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 543px;
    height: 88px;
    overflow: hidden;
}

.details,
.meta {
    display: flex;
    flex-direction: column;
}

.title {
    font-size: 20px;
    font-weight: 400;
    height: 26px;
    line-height: 26px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.desc {
    font-size: 12px;
    font-weight: 400;
    height: 22px;
    line-height: 22px;
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.meta {
    margin-top: 12px;
}

.author {
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 400;
    height: 24px;
    margin-right: 20px;
}

.avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 5px;
}

.uname {
    font-size: 12px;
    font-weight: 400;
    height: 16px;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.right {
    width: 117px;
    height: 88px;
    margin-left: 20px;
}

.right img {
    width: 117px;
    height: 88px;
    object-fit: cover; /* 保证图片等比缩放 */
}
/* 结尾 */
footer {
width: 100%;
/* height: 500px; */
background-color: #f6f9fa;
}

.end-wrapepr {
width: 1226px;
/* height: 500px; */
/* background-color: skyblue; */
margin: 0 auto;
padding: 35px 0;
}

.end-header {
display: flex;
width: 100%;
/* height: 300px; */
justify-content: space-between;
}

.end-header div {
width: 30%;
height: 150px;
/* background-color: pink; */
}

.end-title {
font-size: 16px;
color: #999;
margin-bottom: 20px;
}

.aboutSection {
width: 318px;
display: flex;
flex-wrap: wrap;
}

.aboutSection li {
width: 50%;
font: 14px "Helvetica Neue", Helvetica, Arial, "Microsoft Yahei",
    "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
margin-bottom: 10px;
color: #212121;
transition: color 0.3s;
cursor: pointer;
}

.aboutSection li:hover {
color: #00a1d6;
}

.s-2 {
width: 100%;
}
.s-2 li {
width: 33.3%;
}

.downloadWrapper { 
display: flex;
justify-content: center;
align-items: center;
}

.download {
display: flex;
width: 100%;
justify-content: space-around;
}

.download li {
display: flex;
flex-direction: column; /* 使图标和文字垂直排列 */
align-items: center; /* 使图标和文字居中对齐 */
}

.dicon-wrapper {
width: 50px !important;
height: 50px !important;
border-radius: 50%; /* 圆形边框 */
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 10px;
}

.download li.download-app .dicon-wrapper {
background-color: #585f69; /* 黑色背景 */
}

.download li.sina-weibo .dicon-wrapper {
background-color: #e30a17; /* 红色背景 */
}

.download li.weixin .dicon-wrapper {
background-color: #1aad19; /* 绿色背景 */
}

.download li p {
transition: color 0.3s;
cursor: pointer;
text-align: center;
font: 14px "Helvetica Neue", Helvetica, Arial, "Microsoft Yahei",
    "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
margin-top: 5px; /* 给文字一个小的间距，避免它和图标太贴近 */
}

.download li:hover p {
color: #00a1d6;
}
.dicon {
width: 20px;
height: 20px;
vertical-align: -0.15em;
fill: white;
overflow: hidden;
}